package com.r2coding.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author:98k灬
 * @since:2022/06/04 12:17
 **/
@FeignClient("blog-article")
public interface ArticleFeignService {
    @GetMapping("/api/article/getArticleCount")
    Integer getArticleCount();

    @GetMapping("/api/message/getMessageCount")
    Integer getMessageCount();
}
